package com.punch.common.dto.user.user;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@ApiModel(value = "修改密码")
public class PasswordDTO implements Serializable {

    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotEmpty(message = "密码不能为空")
    private String newPassword;
}
